Carbon


ReadIconFile

Header: Icons.h Carbon status: Under Evaluation

Copies data from a given file into an icon family.

OSErr ReadIconFile (
    const FSSpec *iconFile, 
    IconFamilyHandle *iconFamily
);
iconFile

A pointer to the file specification structure for the source file for icon data.

iconFamily

A handle to an iconFamily data structure to be used as the target data structure. Icon Services resizes the handle as needed. For more information on the IconFamily data structure, see 'icns'.

function result

A result code.

AVAILABILITY

Under evaluation for Carbon. Available in CarbonLib 1.0 and later. Exported by CarbonLib 1.0 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/18/2000)